how to create graphical user interface